<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文章详情页面</title>
    <style>
        /* 基础样式重置 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: #f8f9fa;
        }

        a {
            text-decoration: none;
            color: #1a73e8;
            transition: color 0.3s;
        }

        a:hover {
            color: #0d47a1;
        }

        /* 布局容器 */
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 头部样式 */
        header {
            background-color: #fff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: #2c3e50;
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 20px;
        }

        /* 文章区域 */
        .article-container {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 20px rgba(0,0,0,0.05);
            margin: 30px auto;
            padding: 40px;
        }

        .article-header {
            margin-bottom: 30px;
        }

        .article-title {
            font-size: 2.2rem;
            margin-bottom: 15px;
            color: #2c3e50;
            line-height: 1.3;
        }

        .meta-info span {
            margin-bottom: 4px;
        }

        /* 文章内容样式 */
        .article-content {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #2c3e50;
        }

        .article-content p {
            margin-bottom: 20px;
        }

        .article-content h2 {
            margin: 35px 0 15px;
            color: #2c3e50;
        }

        .article-content h3 {
            margin: 30px 0 15px;
            color: #2c3e50;
        }

        .article-content blockquote {
            border-left: 4px solid #1a73e8;
            padding-left: 20px;
            margin: 25px 0;
            font-style: italic;
            color: #7f8c8d;
        }

        .article-content img {
            max-width: 100%;
            border-radius: 8px;
            margin: 20px 0;
        }

        /* 标签和操作区 */
        .article-tags {
            display: flex;
            flex-wrap: wrap;
            margin: 30px 0;
        }

        .tag {
            background: #e8f0fe;
            color: #1a73e8;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.9rem;
            margin-right: 10px;
            margin-bottom: 10px;
        }

        .article-actions {
            display: flex;
            justify-content: space-between;
            border-top: 1px solid #eee;
            padding-top: 20px;
            margin-top: 30px;
        }

        .action-btn {
            display: flex;
            align-items: center;
            background: #f8f9fa;
            border: none;
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.3s;
        }

        .action-btn:hover {
            background: #e9ecef;
        }

        .action-btn i {
            margin-right: 8px;
        }

        .footer-section h3 {
            margin-bottom: 15px;
            font-size: 1.2rem;
        }

        .footer-section ul {
            list-style: none;
        }

        .footer-section ul li {
            margin-bottom: 10px;
        }

        .footer-section a {
            color: #ecf0f1;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .article-title {
                font-size: 1.8rem;
            }

            nav ul {
                margin-top: 15px;
            }

            .article-actions {
                flex-direction: column;
                gap: 10px;
            }

            .action-btn {
                width: 100%;
                justify-content: center;
            }
        }
        p {
            text-indent: 2em; /* 2个字符的宽度 */
        }
    </style>
</head>
<body>
<!-- 页面头部 -->
<!-- 文章内容区域 -->
<main class="container">
    <article class="article-container">
        <div class="article-header">
            <h1 class="article-title">{{$data['title']}}</h1>
            <hr>
        </div>
        <div class="article-content">
             {!! $data['content'] !!}
        </div>
        <div class="article-actions">
            <button class="action-btn"><i>👍</i> 点赞 (0)</button>
            <button class="action-btn"><i>💬</i> 评论 (0)</button>
            <button class="action-btn"><i>⭐</i> 收藏</button>
            <button class="action-btn"><i>↗</i> 分享</button>
        </div>
    </article>
</main>

<!-- 页脚 -->
<footer>

</footer>

<script>

</script>
</body>
</html>
